python for loop range len if == comparison function

welcome to shbcf.ru